/*项目的入口文件
创建app并读取一个文件(App)
createApp(App).mount("#app')
import App from "./App.vue
表示要读取的文件是./App.vue

会在main.js中添加vue环境、路由环境
*/


import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index.js'

// createApp(App).mount('#app').use(router);
const app=createApp(App);
app.use(router);
app.mount('#app');
